import QtQuick 2.0
import QtQuick.Controls 2.5


Rectangle {
    radius: Math.max(parent.width, parent.height)
    color: "transparent"
    anchors.fill: parent
    border.color: "black"
    border.width: 5

    onXChanged: {
        console.log("figure.width: " + width)
    }

//    MoveArea {
//        control: parent
//        anchors.fill: parent;
//    }

//    ResizeBorder {
//        control: parent
//        anchors.fill: parent;
//    }
}
